using UnityEngine;

public class SwitchAnimation : MonoBehaviour
{
	public int number;

	public string paramName = string.Empty;

	private void Start()
	{
		Animator component = GetComponent<Animator>();
		if (component != null)
		{
			component.SetInteger(paramName, number);
		}
	}

	private void Update()
	{
	}
}
